<?php
if (!defined('PHPUnit_MAIN_METHOD')) {
	define('PHPUnit_MAIN_METHOD', 'Cameo_AllTests::main');
}

require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';

require_once 'Cameo/SMS/AllTests.php';

class Cameo_AllTests {

	public static function main() {
		PHPUnit_TextUI_TestRunner::run(self::suite());
	}

	public static function suite() {
		$suite = new PHPUnit_Framework_TestSuite('Main - Cameo');

		$suite->addTest(Cameo_SMS_AllTests::suite());

		return $suite;
	}
}

if (PHPUnit_MAIN_METHOD == 'Cameo_AllTests::main') {
	Cameo_AllTests::main();
}
